package com.hui.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hui.server.entity.MenuRole;
import com.hui.server.util.Result;

import java.sql.SQLException;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hui
 * @since 2022-03-31
 */
public interface MenuRoleService extends IService<MenuRole> {


    /**
     * 更新角色拥有的菜单
     * @param rid
     * @param mids
     * @return
     */
    Result<?> updateMenuRole(Integer rid, Integer[] mids) throws SQLException;
}
